package com.wooming.studentinfosystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Mapper层: 删除学生信息
 *
 * @author Wooming
 */
@Mapper
public interface StudentDeleteMapper {
    void deleteStudent(String studentId);

    @Select("SELECT COUNT(*) FROM student WHERE student_id = #{studentId}")
    Integer countByStudentId(String studentId);
}
